<?php
/**
 * Created by PhpStorm.
 * User: YC
 * Date: 2017/4/30
 * Time: 13:51
 */

namespace app\admin\validate;

use think\Validate;

class Stories extends Validate
{
    protected $rule = [
        'title|项目名称' => 'require|max:25',
        's_time|开始时间'   =>  'require',
        'e_time|结束时间'   =>  'require',
        'status|状态'   =>  'require',
        'info|详情'   =>  'require',
        'p_time|预期时间' => 'between:0,99999',
        'w_time|实际时间' => 'between:0,99999',
    ];

}